package wang.Generics;

import java.util.ArrayList;

public class Genericsdemo3 {
    private Genericsdemo3() {
    }

    ;


    public static <T> void addall(ArrayList<T> list, T... t) {
        for (T num : list) {
            list.add(num);
        }

    }
}
